//package com.config;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.transaction.annotation.EnableTransactionManagement;
//
//
//@Configuration
//@EnableTransactionManagement
//@Slf4j
//public class Neo4jConfig {
//    /**
//     * 定义neo4j事务
//     *
//     * @param sessionFactory
//     * @return
//     */
////    @Bean("neo4jTransactionManager")
////    public Neo4jTransactionManager neo4jTransactionManager(SessionFactory sessionFactory) {
////        return new Neo4jTransactionManager(sessionFactory);
////    }
//    /**
//     * 定义mysql 事务
//     *
//     * @param emf
//     * @return
//     */
////    @Bean("transactionManager")
////    public JpaTransactionManager jpaTransactionManager(EntityManagerFactory emf) {
////        return new JpaTransactionManager(emf);
////    }
//}
